added alert to the registration page