public/private user accounts enabled, code is messy but WORKS