Added functionality and dynamic jade pages