rails devise jwt auth tutorial for rails api only mode