working on user validation