Fixed various bugs. Updated login views to show errors. Restricted edit/delete to respective users.