Controller refactor --
  DRY up Doctors, Records, and Sessions Controllers using new helper method in Application Controller.
Refactor Preferences controller to use helper json renderer.
Merge pull request #132 from banana-slugs-2014/DRYer-controllers

Dr yer controllers
Fix login route
Hotfix
Merge pull request #135 from banana-slugs-2014/login-fix

Login fix