modifications based on feedback
added image resizing to avatar page