Rails implementation of USW backend