Added login capabilities and some basic template. The config template is not still used