MTA-197 Refactor Prototype complete
added auth