add not ajax /login /register handlers