added more user.cpp stuff