extract usercreate from userscontroller