Removed unused variable
Fixed invisible success messages
Typo