Implemented Authorization with our own Security