add delete photo option for logged in user
store user credentials in cookie
add photo edit logic