logged in user saved to session and test correction