Misc. typos, optim. or fixes

`+` KISS password generation
dependign on the version of php he will try to check both statements for what I have seen. So he will try to check the $user!==FALSE no problem but when reading the ->id_role and since is not loaded the model user will crash.

I will need to test this in few other hostings to be honest