closes #1, checks which user is attempting to login and checks against only that key.