removed the connect to database from the routes in order to
optimize.

Removed the use of mongojs, in order to just stick with
mongoose.