Close MainActivity when logout