improved registration/login/container creation procedure to handle failure cases better (e.g. incomplete logout, non-stopped container)
cleaned up templates: proper base template, inheritance, style sheets