Trying a different pattern for getting the User class everywhere