updated dao to get all users