fixed typo mail and success is green , fails is red