updated index form
added comment to UserController for future reference