Added sessions and routes for logging in and out