Added own middleware auth solution