make login, register pages and default layout