remove logout if not logged in