Updated the auto return after maintenance portion in order to allow for ajax requests
Updated the login page