added avatar capabilities
added image upload to posts