Add ability to modify avatar, write function for saving an account