Added model class for Photo and User