adding login capabilities