added login template view
added logout function
modified use features based on user.is_authenticated()
created base template for html pages