add user registration page
more accurate detect user's internet connection status
make google font work offline
fix socket disconnected bug