Cleaned up file formatting
Refactored authorizeToken method a bit