refactor setNext to setNew and setContinue
move up try and extract action names
web client
write tests around crypto utils