fixed logged out issue;