added token authentication to devise and added a url to get tokens