fixed urls and added routes