add register view in views/register-view.js