Implement authentication with devise and token