Finalized Avatars and image upload, added production code for Heroku