Add refactoring success and error messages in rspec, included valid signin and registration variables