Adding methods to sessions_helper