added ensure authentication token method