removed Login Ctrl
created login modal
added event control page and migrated from main html
some code tidy
started on state security