Had a typo in the action. "dologin" changed to "doLogin"