different templates for login and chat pages