Login and register sanitized and work