routing fix for Register button