login function name renamed. and login urls changed