hide Dashboard and logout if not login