Move default user retrieving to separate file.