Removing bug : View function mapping is overwriting an existing endpoint...

... function: mainpage