Work in Progress, idea to use Templates instead of $url
Adding functionality to protect content of single pages. Using templates to include login form. Changed setup instruction.
Adding subdirectory fix for testing again