The problem I see is that, you're comparing garbage values to actual values.
cUsername != user[1][1]
You haven't initialized cUsername to anything, nor pPassword.
Another problem is that you don't quite know how arrays work. If you create an array, say the size of 3. int arr[3]. You will reach it's content by index 0-2, not 1-3.
int arr[2] = {2,3};
if you want to print out 2, you do arr[0], and arr[1] for printing out 3.