merge /register to /login request