Use API Key value signals to switch between Login & Main views; use programmatic view handling (remove storyboard.)