logging out now redirects to homepage rather than repository