Fixes notes URLs
Creates routing from home

Depending on user session (authenticated or not?)