setup home page and user model