update blogview and loggedin.php