added login recording