Handle session for all function of location model