Remove global variable logged_in