sessions - moved save if statement into actual functions.