Added mongoose database connector