updated style and add layout in frontend