added select list for states and fixed password overwrite bug