added validations on edit user, and fixed some indentation bugs in UserModuler