Remove old login, register and logout functions. Keeping templates for now as reference.