fixing data type in User::loginByAccessToken($token,$type) now $type is mixed type.