Added segue and implimented it