Fix sign up to the classes problem (problem with two instance of the same object in the same session)