made user and image models