refactor submit link for unauthorized users