added rating in Entry class
fixed db path, activated admin