register and details view