replaced ua method in Mojolicious::Controller with a helper