Finish building out authentication endpoint