Added image upload functionality and fixed the layout of the pins page