storing new generated address in session variables