Adding new routes and functions