Fixed sign out button appearing when not logged in