Add missing datepicker on user edit form and improve role validation