folded logic from tyml controller into model methods
added methods made from controller logic
corrected text fields for proper form for syntax
changed so it could find tyml partial in users folder in views