add/edit user validation
Merge pull request #47 from niravpatel2008/aniket

add/edit user validation