Moved login controller to authentication file