single sign on functionality added. (does not work yet ;) )