Fixed minor bug after logging out