rewrite signup