home and session controller