fixed the id issues and found out I used wrong controller type which was causing routing to fail