Add authentication and sessions, log in and log out