modified signon, add some new template