add proper connections between view controllers