Added the ability to choose to log into dev/stg/prod environments