Implemented photo upload, camera function