fixed some with user authentication for editing matrix entry