Added first implementation of validating a user