Added relations to user_permissions