Beginning implementation of login functionality