finish most login logic on Login and Center

1. add logout proto
2. finish most login logic on Login and Center