updated templates, added layout.html