1. Implement the login thread.

2. Add qt style sheets for all table widgets.