add auth app & update settings
fix gevent threading issue