Created Session saving for authored problems.

Please review this code and let me know if you have any questions.