Implemented Structuring and authentication