Fixed Null Exception if no login data logged