Login Route
Login Route
userHasAccount
Description: Checks if the user already has an account
Output: Boolean indicating if the user has an account
Procedure: Protected
Request Type: Query
getAuthorizedRole
Description: Checks if the user is authorized to log in
Output: User role
Procedure: Protected
Request Type: Query
getUserRole
Description: Retrieves the role the user is authorized for
Output: User role
Procedure: Protected
Request Type: Query