alert to check authentication