Framework for new login management