refactored User and resource files for testing.https://app.asana.com/0/15843277689885/16917144320389