fixes bug preventing access to sign up page.