I am getting an error, and being new to C++ I have absolutely no idea what it means, and I also know that you should not get passwords this way, but it is the only way I could think of to test myself in more difficult areas of C++, I have just started this and already get stumped by this.

```
class user
{
private:
    int security;
    string password;
public:
    string username, email;
    int age;
    string signup()
    {
        int num;
        cout << "Welcome new user!\nPlease enter your username:\n";
        cin >> username;
        cout << "What is your email?\n";
        cin >> email;
        cout << "What is your age?\n";
        cin >> age;
        cout << "Make a password:\n";
        cin >> password;
        cout << "Enter a number:\n";
        cin >> num;
        security = mnet::random(num);
        cout << "Your security code is " << security << endl;
        return username;

    }
};
int main()
{
    string LorS;
    user cprofile;
    cout << "Welcome to MatrixNet! Login or Sign up?[L/S]\n";
    cin >> LorS;
    if(LorS == "S" || LorS == "s") {
        cprofile = cprofile.signup();
    }

    return 0;
}

```

The errors I am getting:

```
In function 'int main()':|
|55|error: no match for 'operator=' (operand types are 'user' and 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}')

|20|note: candidate: user& user::operator=(const user&)

|20|note:   no known conversion for argument 1 from 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' to 'const user&'

|20|note: candidate: user& user::operator=(user&&)

|20|note:   no known conversion for argument 1 from 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' to 'user&&'|

Line 55:

    cprofile = cprofile.signup();

```