fix background image url for news, redirect to index after login and reload the page, centralized connection to database to config/db.php
fix db config path