cleaned up the error and success messages in the views so they are consistent