fixed bugs with relationships and started dashnoard layout