User preferences inserted into database