Merge pull request #675 from liuchuangww/user

Fix redirect
Fix user config