create user resource, added validation