Small bugfixes for user permissions and notification preferences