working on login bug