assign route to signin view and handle page reload correctly.