added starter code for local auth & activation