starting to wire up authentication