fix rendering issue in template views
add in some really really simple auth