Made photo upload functional :D (Will need to npm for the npm dependency)