Logout working
Redirect user to posts after login