move UserConnection to application