added include to each function, newuser seems to function correctly now