session stuff is working now. I added a declarations ession_start to save.php, register.php and view.php