Update avatar.php

'avatar.php' base changes.