Modified UserAgent class invocation in layout (added ./)