created prelogin layout