fixed validation on user