This code is used to save the session data i.e, login data in we prefer to save our login data.