create register view and add bootstrap support