$this->set_message('login_unsuccessful');
{ //if the login was un-successful //redirect them back to the login page $this->session->set_flashdata('message', $this->ion_auth->errors());