Fix compile error on Unix

added the right headers for User::print()
Fix ls on Unix

the path separator on unix is / and not \ (in Windows it is the opposite)