added avatar upload capability, working on deleting posts