fix initialisation of user