added uid to apps