Update avatar.php

'avatar.php' modifications.