update index layout, update login post action