Show different views to diffrent user type(Doctor role have 'my patients' view, TrumpPatient role have other views). The way to check the role is to send http request to 'user' resource to get the user's uuid, and then send another http request to 'user' resource to get the details which contains the role list of this user.