add login index view ; define main layout