Create a Controller for hospital management that manages user authentication, including login, registration, password recovery, and external logins. It must ensure that users are properly authenticated and authorized to access different parts of the hospital management system based on their roles.
Create a Controller for hospital management that manages user authentication, including login, registration, password recovery, and external logins. It must ensure that users are properly authenticated and authorized to access different parts of the hospital management system based on their roles.