Attempting to move authentication handling to its own module.
Added a "findOrCreate" method to the base model for all models to use.
Moved authentication logic around. Added support for new Bula-Auth middleware, and moved model logic into model.