fixed alerts, client registration now works