fix logout in js ui
fix getting only tasks for which the user is not blocked