add user authentication
uploads jpeg files in photo page