re-added if signed_in? from index page
changed redirect back to post_path