CE-2083: replace user* hooks with common
Replaces the useLogin, useLogin, and useUser* hooks with common
Affects:
- login/logout and role functionality
- user profile page
At a high level, it copies what is done in template-ui with some differences:
- login sends
userName
instead ofusername
😩 - user roles are pulled from a dedicated endpoint / aren't included in user response
- userInfo is served in an array instead of just an object...mayyyyybe a point of improvement later?
Edited by Christina Jenks