Added mongoose > 3.2 and redis database selection