backend: pass the right error to callback()

While there, fix log message.
deleted not used module
implemented regexp server-side control
passing json to private pages
signup: delete old function
login_once: create servePage for routing
Merge branch 'alessio_20140403'