> I don't like this code. these 2 lines should be extraced into a method so that we know for sure that user object is updated when profile is created.

Managed to get rid of the `windows_profile_created` flag completely.