Update for compatability with Mojolicious 4.0

render_text was replaced with render(text => ...) in Mojolicious 4.0.