Implemented login capabilities