Ajax Jquery UI and refactoring

Ajax Jquery UI to create users
Refactoring the User module