Authorizes a user based on the provided token.
true if the token is valid, false otherwise
the token to be validated