Changes made to allow HTPP request to be used in the authorize method. This allows a user to be authorized depending on their allowed server routes stored in a database