bug fixes in the case of a new user, strted with the delete functionalety