Add auto-login feature, fix css.