Added initial Logout
Fixed many things with Session

Change-Id: Iab48eb4972b3f95eb72d809fbe7dc9f0d6e0aff2