Started session implementation.
Session logout implemented.