add tasks view functionality