Add the ability to log in and out on a session basis