better organize the login related setting closer.