altered Driver to check for the user credentials.