modified user model removed resourceify