back-end for changing online status and keeping presence refreshed