forward to index page after login instead of login again

Signed-off-by: Ace Han <ace.jl.han@gmail.com>