add user in posts_controller