[Ian] adding authentication of roles and edit page