UserService: more robust storing procedure