working on login capabilities