Generating user resource