Altered news and profile pages, moved connection to db to a separate file (connections.php)