Adds wikimedia urls to ns and adds some code to check login