resolve added.  auth reworked a bit.
Lotsa Good changes.
Modal is now a directive with service.
Lotsa Good changes.
Modal is now a directive with service.