renamed getArrayDreamsByStatus to getDreamsByStatus in Dream repository