if user signed in redirects to post index

if user signed in redirects to post index