added model for logging stuff into database

Added model Longo for logging in mongo.
Niceified developer form