Implemented authorization through Device