recognize logged in user
logout added to base template