ManageUsers: Updated with refactored code
ManageUsers: Updated with refactored code

Removed import that are not being used
Removed if-else branch for icon, replaced with inline function
Added 4-space soft indentation for JavaScript and 2-space soft for HTML

Signed-off-by: Progyan Bhattacharya <fe59379e9fdf0aded17320f5cfd5fa983cfc849d@acm.org>

RegOpz/RegOpzWebApp,RegOpz/RegOpzWebApp,RegOpz/RegOpzWebApp