updated sql call so user only see's his/her own tasks