When the user logs in it syncs automatically