added permissions and user relations