installed image upload gem and resizing gem. added avatar in views
Added image to Post.