maintain session on user login and destroy it on logout
added getId, clear function in session base and updated destroy function