Updatd User entity and continued working on registration code.