Check login status before getting connection