add photo resizing and use it on the main profile page