implemented sessionkey