change to handleRegister
other methods according to template handle(Smth)