Config test and working.

TODO:
1. LDAP or MySQL