fixed registration bug missing email in sessions