Adds token based authentication