sample devise api