set "." as default dir
fix the $_SERVER['SERVER_NAME'] issue
+ userExist
+ login and createUser