added user profile functionality, added user_id to posts