fixed session to contain error message
Merge pull request #15 from sandycjyu/ProfileEdit

fixed session to contain error message