Fixed routes and added application key