set partition after login