add user register and file upload