initial changes for login (WIP)