basic credentials check