Add ability to log in and out