login page cleanup