Update RegisterAction.java