Improved login logout
Fixed cpu wakes after login