lockService, fixing variable name
loginService, fixing redirect