code may not work - because SessionManager is not completely integrated.
Will have to be done in class tomorrow.