fixed redirect to user home page after creating new post instead of user profile.