Removing flash debugging notices.
Registration validation and redirection fix.