Adding navigation drawer and implementing device registration