A Emberjs Authentication example through a Rails API