Hide the post button for users not signed in yet.
Add user profile page with link to user's posts page. Add has_many association to db and models so that a user has many posts.
Add the photo display code on posts index page.