Modified admin functions to make it work with NUS OpenId.