add mysql schema and user authetication middleware