added alerting for when user registers