bug fix in setting_lib, removed occupation, fixed registration page