Added ajax loading of permissions field