first test with promised-mongo
Added functions to insert, find by Id and find by userId
renamed config url to host
changed intervals can be saved