Added authentication for user editing