Added photo uploading in modal and display on page using database functionalty