Mongodb hookup and UI modifications according to the data coming from database.