Reverted config for idm_url to just server. Improved formatting in site.js.
Added login view and controller.