fixed log in bug if the CMS is in a subdirctory, removed unnecessary /