I want to create a new plugin to add a new field (weight) to the users

 who must change the forms and actions but it does not work I do. Functions that I use and modify?