add mongoose connect to app js