added method for getting users from db by filtering...reviewed some todoses...