changed layouts and added some routes