Templates optimised.
Login, logout released.