error and success alerts with creation of an account