Added basic user validation