add angular to user index and set up form validation