Refactored Authentication Logic out of the controller.
Fixed Migrations So they don't seed unecessary repeated data.