add logout functionality
fix new user page so that it doesnt throw error and you dont have to be logged in to view it