Login and registration with new entities