added user object factory and user resource to routes