Continued working on log in functionality