created a user resource