added the ability to use $loginAction specified in actions()