added some styles and code of router