resizing the user avatar