modified devise views and added a user ID to the posts model