$auth = array( 'uid' => $uid, 'username' => $username, ); session('user',$auth);
I('session.user.uid',0)
session('user.uid')