fixed session bug and added profile path and seperate header on profile page