Implemented photo upload