Further jruby work and work on registration modal