Added functionality for creating posts
Added logic for uploading a picture