Fetch roles from web, fix user functions