implemented index.php methods in Allocations_Model