update the models and controllers for User and Photo's