Getting avatar to save to DB