Removed more obsolete code and implemented partial edit_user functionality.