used json template for login dialog layout definitions