Sort out user dashboard viewing permissions bug