templating views, added testing code to circumvent FB login