linked user model to photo