Code cleanup
Addcheck for forward slash at end of base url