created a simple user manager, and added basic validation