Top court directs Union Home Ministry to appoint officer to coordinate with States and Union Territories