session fix in home controller