self.assertTrue instead assert .....
solving problem of elif and adding 404 page