Minor fixes in user validation + testcasing potential/common errors