fixed some minor bugs. Admin users can only edit articles. There was a crash when signed in users tried to access edit articles pages, but it is fixed now