add the ability to log in and out