Edit user profile and permissions management for changing roles