added new function -setAuthority (manager.sql)