Implemented session_pop()