add user page & fix some errors