Fix for #8 #9 #10 user management module and role fixes