sessions corrections while loggin in