Some enhancements and fixes related to user management

Users status(Active/Inactive) can be set during user creation and update.