adds logout, adds tasks filtering