minor improvement to auth (first workable test)
added synch support, ncecessary if the web application is terminated abruptly. Also changed the web layout as to cope with inheritance of componenets