Fix empty login_id issue, ajaxify user edit page, add roles for html elements