Added controls and segues