user can now register with toastr alerts