add chk register

after register done it will redirect to login page