created an avatar uploader
added Image to posts