add navigation controller and QR code view