Fixed slug stuff and added controller in view