Upgraded rails-api gem and added session management

![](http://media3.giphy.com/media/6hRvaX5iHJagM/giphy.gif)