Login panel disappears now after authentication