Changed login process. Use post methods for login and logout from the AuthController;