added redirect for registration form