Put User factory in its own module in the shared folder and include the module in main app