added the template context processor to get a handle on request.session
and hence the spurious username string,login button and logout button
were removed from request contextx before rendering the view.