Login using Ion Auth and AJAX in CodeIgniter