working on login, running into bug