update profile.php and header.php

added and finished functionality for editBlog.php