Moved checkSession outside of action-hash. It shouldn't be an action, it's just a method on the LoginController.