changes to support logging in to main product