added generated sessions. added favorite function of sessions.