fixed getting users settings from db