started working on register view