Getting Auth Working

Still needs a good bit of tuning...,