added login protection. use as a minor nuisance.