implimenting express param and load function in route template