Saving sessions from the receive method