added user id to model