Add state/route change.
Merge pull request #53 from brettdewoody/mongoose

Add state/route change.