added edit functionality

it respects the roles