hey all, i'm new so give me a chance

Code:
int main()
{
  int pass;
  char login;

  cout<<"hey please enter your login: ";
  cin>> login;
  cin.ignore();

  if ( login == john ) {
  cin.get();
  cout<<"welcome john/n";
  }
  cin.get();
}
what i'm trying to do is make it so you have to have the correct login and if you don't it's says so, but i'm struggling so hard to make

I think i could do it with numbers, but with letters it seems to be completely different, can someone please help me?