Treated register success/failure
Removed Google deprecated authentication method
Moved authentication-related routes to an authentication.js route file