embedded response width fix
Merge pull request #1655 from awesomerobot/master

embedded response width fix
 Refactor SessionController#create, reduce complexity.

Getting rid of multiple ```if```. Reduces complexity.