hide login on offline