fix root path. fixes #7
fix endpoints
fix redirects after login
fix redirect destination
Merge pull request #8 from suzuken/fix/page_path

Fix/page path