got login in functionality working, adding log out