Fix bug with saving avatar while adding new user (#152)