Moving auth to it's own file.
Working authentication\!