removed default templates and added login functionality