implemented sessionbean and refactored source

logout button