working to implement validation on user detail