added sessions and shit