Fill in user mysql funcs before going to bed; untested as of yet