added user and photo models