Sorry for this inconvenience and thanks for reporting.
This is a known issue. Intending to get this fixed, please drop us a message through the tickets system and then our team will fix that to you. Basically, it was possible to construct buildings (settlements only) even if there was not enough free population.This resulted in an error and crashed your game, causing problems to login back to the game.