Added a logout. Maybe change how the url gets called.