fixed a bug while adding new user (date input field)