fix require sequence of authentication
fix auth.php requiring
add xhprof config
fix sequence of config