generate configuration on users first login
update permissions of the configuration file
add default configuration file