Moved user_id connection of post from create to new method; also added id to index view