fixed bugs introduced from last commit, authentication added to web interface
many improvements to web interface

admin interface still incomplete.