Secure sharing of electronic medical records in cloud computing