closing registration page