Add login/logout/isAuthenticated and list_thumbnail