create resource for user and add some validation