Added Security Controller and incorporated login pages.