Basic log in functionality implemeted