Rails / Heroku Authentication and example API usage