Logout feature fixed and now redirects user

Redirects user to homepage after successful logout