refactored controllers and routes
now posts have user_id
know models are created with appropriate associations
know images are ploading to amazon S3 databse