added basic login capabilities