solved issues of multiple weahter preferences being created for one user