made session_id more permanent
removed bugs + details