Move @posts assignment to else, validate user

Moved the assignment for the @posts instance variable to the else clause
of the posts create in posts_controller.rb.

Changed from validating user_id to validating user in post.rb