Added user resource with tests