Added image upload functionality and views