public function invite()
 {
     $email = $this->input->post('email');
     $response = $this->moneyzaurus->connectionAdd($email);
     if ($response['code'] == 200) {
         if (!$response['data']['success']) {
             $this->session->set_flashdata('message', $response['data']['message']);
         } else {
             $this->session->set_flashdata('message', 'User ' . $email . ' is invited to connect accounts');
         }
     }
     redirect('/profile');
 }