AuthService interface provides methods for authentication and authorization.
Authenticates a user based on the provided username and password.
Authorizes a user based on the provided token.
Extracts the email from a given token.