added user and login capabilities