Moved login and logout actions to the AuthController
Added check for an ajax request in the store action of the SimulationsController.
Changed calls to HomeController login actions to AuthController login actions.
Changed HomeController@doLogin to AuthController@doLogin
Cleaned up code, changed interval from magic number to a constant for readability