Changes for  validate user.