add auto generate password
Fix bug
Fix bug
Add redirect too